package com.example.demoes.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

@Document(indexName = "goods",type = "goods")
@Data
public class GoodsInfo implements Serializable {
    private Long id;
    private String name;
    private String description;
}
